FROM swr.cn-south-1.myhuaweicloud.com/openharmony-docker/openharmony-docker:1.0.0
RUN apt-get -y install sudo
RUN useradd -u 1000 -m -s /bin/bash -d /home/openharmony openharmony
RUN adduser openharmony sudo
# default password ohoh
RUN echo 'openharmony:ohoh' | chpasswd
USER openharmony
WORKDIR /home/openharmony
CMD ["sleep", "365d"]